home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
examples.arc
/
EXAMPL47.PRO
< prev
next >
Wrap
Text File
|
1986-10-07
|
308b
|
17 lines
/* Program 47 */
/*
Goal to be entered is on page 105 of the manual.
*/
domains
namelist = name*
name = symbol
predicates
string_namelist(string,namelist)
clauses
string_namelist(S,[H|T]):-
fronttoken(S,H,S1),!,string_namelist(S1,T).
string_namelist(_,[]).